package com.njym.java.security.app.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:13:20
 */
@Table(name = "answertbl")
public class Answertbl implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //答案表
    @Id
    private Integer id;
	
	    //答案编号   A B C D
    @Column(name = "code")
    private String code;
	
	    //答案
    @Column(name = "answer_name")
    private String answerName;
	
	    //选项分值
    @Column(name = "score")
    private String score;
	
	    //问题id
    @Column(name = "question_id")
    private Integer questionId;
	
	    //
    @Column(name = "deleted")
    private String deleted;

    @Column(name = "is_true")
	private Integer  isTrue;
	

	/**
	 * 设置：答案表
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：答案表
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：答案编号   A B C D
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：答案编号   A B C D
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：答案
	 */
	public void setAnswerName(String answerName) {
		this.answerName = answerName;
	}
	/**
	 * 获取：答案
	 */
	public String getAnswerName() {
		return answerName;
	}
	/**
	 * 设置：选项分值
	 */
	public void setScore(String score) {
		this.score = score;
	}
	/**
	 * 获取：选项分值
	 */
	public String getScore() {
		return score;
	}
	/**
	 * 设置：问题id
	 */
	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}
	/**
	 * 获取：问题id
	 */
	public Integer getQuestionId() {
		return questionId;
	}
	/**
	 * 设置：
	 */
	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：
	 */
	public String getDeleted() {
		return deleted;
	}

	public Integer getIsTrue() {
		return isTrue;
	}

	public void setIsTrue(Integer isTrue) {
		this.isTrue = isTrue;
	}
}
